using System;
using ServiceStack.ServiceHost;

namespace DTFight
{
	[Route("/DTFight/GetRoomInfoList", "POST")]
	public class GetRoomInfoListRqt : IReturn<RoomInfoListRsp>
	{
		//public string Name { get; set; }
	}

	[Route("/DTFight/EnterRoom", "POST")]
	public class EnterRoomRqt : IReturn<GameHistory>
	{
		public string Name { get; set; }
		public int RoomId { get; set; }
	}

	[Route("/DTFight/ExitRoom", "POST")]
	public class ExitRoomRqt : IReturn<ResultResponse>
	{
		public string Name { get; set; }
	}

	[Route("/DTFight/GetRankingInRoom", "POST")]
	public class GetRankingInRoomRqt : IReturn<GetRankingInRoomRsp>
	{
		public string Name { get; set; }
	}

	[Route("/DTFight/GetRoomState", "POST")]
	public class GetRoomStateRqt : IReturn<GetRoomStateRsp>
	{
		public string Name { get; set; }
	}

	[Route("/DTFight/GetGameResult", "POST")]
	public class GetGameResultRqt : IReturn<GameData.ResultInfo>
	{
		public string Name { get; set; }
	}

	[Route("/DTFight/GetBetResult", "POST")]
	public class GetBetResultRqt : IReturn<GameData.PlayerBetResult>
	{
		public string Name { get; set; }
	}

	[Route("/DTFight/SelectAdviser", "POST")]
	public class SelectAdviserRqt : IReturn<SelectAdviserRsp>
	{
		public string Name { get; set; }
		public UInt32 AdviserType { get; set; }
	}

	[Route("/DTFight/BetPlayer", "POST")]
	public class BetPlayerRqt : IReturn<SelectAdviserRsp>
	{
		public string Name { get; set; }
		public string PlayerName { get; set; }
	}

	[Route("/DTFight/SelectGroup", "POST")]
	public class SelectGroupRqt : IReturn<SelectGroupRsp>
	{
		public string Name { get; set; }
		public UInt32 GroupId { get; set; }
	}

	[Route("/DTFight/BetPoint", "POST")]
	public class BetPointRqt : IReturn<BetPointRsp>
	{
		public string Name { get; set; }
		public UInt32 Point { get; set; }
	}
}
